fortran: strengthen the storage_size() check

It's not enough to AC_COMPILE_IFELSE, do AC_LINK_IFELSE to really make
sure the compiler suite supports it.

Refs #4917
NEWS: add credit for Joshua Randall for LSF fixes