Add newline character to stack allocation error

Added a newline character to the stack allocation error so that its format matches the rest of the error messages