isnan implementation for Power5.