only call jQuery(this) if necessary in $.fn.val

This changes $.fn.val to only call jQuery(this) when it is used (when a function instead of value is passed to .val()).

Also saves a few bytes:
   raw     gz
   -15     -8 dist/jquery.js
    -4     -3 dist/jquery.min.js