Add check for width and height in createBitmap()

Checkswidth and height for negative or 0 value and throws IllegalArgumentException in error case. Follows original implementation in android.java.Bitmap.