update malloc(0) check to handle expected behavior based upon config options
update malloc(0) check to handle expected behavior based upon config options

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc