Using the following snippet, you will be able to remove image sizes from media upload gallery in WordPress.

Snippet Source/Credit: WPSnipp