Fix issue 10568 CTFE rejects function pointer safety casts

http://d.puremagic.com/issues/show_bug.cgi?id=10568

When checking if a cast is safe, we need to check for function pointer covariance.