Detect platforms that support cl_amd_media_ops and decide whether to BFI_INT patch or not. Remove unused kernels.