Add az_strdup and as_strprintf functions