Actually stop using NUM_PLANES

Signed-off-by: Sean Paul <seanpaul@chromium.org>