Removed unused friend definition for HEOS in flash routines

Signed-off-by: Ian bell <ian.h.bell@gmail.com>