avcodec/Makefile: skip nvdec.h header when nvdec is not enabled
Fixes make checkheaders now that the cuda headers are no longer in-tree
Signed-off-by: James Almer <jamrial@gmail.com>