Fix memory leak when using DateTimePatternGenerator

Instance created by DateTimePatternGenerator::createInstance() needs to
be deleted

Change-Id: I3e6058f717e56dbc06ffaca35ff6ae06059b689d
Signed-off-by: Carton He <carton.he@marvell.com>