check is_numeric instead of is_float for $priority

fix https://github.com/silverstripe-labs/silverstripe-googlesitemaps/issues/66#issuecomment-52112157