backport the set of new/delete overloads from master

ICC complained about a missing delete operator (for use of placement
new). Also another new/delete set was missing ([] placement). master
already had the fix so this is a straight copy from there.

fixes #626

Signed-off-by: Matthias Kretz <kretz@kde.org>