Fix issue 10568 CTFE rejects function pointer safety casts

We need to check for function pointer covariance