Fixed some issues in differentiation.

Fixed some issues in fortranlinkage.h in the differentiation of besselK and hankelH2.