SLING-5866 - avoid getting an InputStream for binaries in HEAD requests. Contributed by Ankit Agarwal, thanks!