Prevent undef warnings on perl socket read nbytes test