Remove Texture::levelCount() and replace it with isValidLevel(). TRAC #23978 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang