MFC r348352, r348354
r348352:
loader: zfs_alloc and zfs_free should use panic
The zfs alloc and free code print out the error and get stuck in infinite
loop; use panic() instead.
r348354:
loader: malloc+memset is calloc in spa_create
Replace malloc + memset pair with calloc.