[PATCH] image: fit: Use stack allocation macro